package com.lidong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * 加上@EnableFeignClients注解开启Feign的功能
 * @Description : 
 * @Author : lidong
 * @Date : 2017年11月9日
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class SpringcloudsoftServiceFeignApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringcloudsoftServiceFeignApplication.class, args);
	}
}
